import {Permission} from "./Permission";

/**模块 树*/
export class ModuleTree{
	/**模块id*/
	moduleId:number;
	/**模块编号*/
	moduleCode:string;
	/**模块名*/
	moduleName:string;
	/**模块 url*/
	moduleUrl:string;
	/**是否显示*/
	display:boolean;



	
	/**子模块*/
	children:ModuleTree[];

	/**模块对应权限*/
	permissions:Permission[];

	constructor(moduleId:number,moduleCode:string,moduleName:string,moduleUrl:string,display:boolean){
		this.moduleId=moduleId;
		this.moduleCode=moduleCode;
		this.moduleName=moduleName;
		this.moduleUrl=moduleUrl;
		this.display=display;
	}
}